package com.cmc.cloud.cmclink.doc.vo.special.partneremailvo;

import javax.validation.constraints.NotBlank;

import org.hibernate.validator.constraints.Length;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 合作方 Email 维护 Base VO，提供给添加、修改、详细的子 VO 使用 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 * 
 * @author codegen
 */
@Data
public class PartnerSpecialCargoEmailBaseVO {

    @Schema(description = "合作方代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{partnerspecialcargoemail.partnercode.notnull}")
    @Length(max = 20, message = "{partnerspecialcargoemail.partnercode.max.length}")
    private String partnerCode;

    @Schema(description = "合作方中文名称")
    @Length(max = 200, message = "{partnerspecialcargoemail.partnernamecn.max.length}")
    private String partnerNameCn;

    @Schema(description = "合作方英文名称")
    @Length(max = 200, message = "{partnerspecialcargoemail.partnernameen.max.length}")
    private String partnerNameEn;

    @Schema(description = "装货港")
    @Length(max = 5, message = "{partnerspecialcargoemail.pol.max.length}")
    private String pol;

    @Schema(description = "航线（多个）")
    @Length(max = 300, message = "{partnerspecialcargoemail.lanecodes.max.length}")
    private String laneCodes;

    @Schema(description = "危险品申请收件箱（多个）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{partnerspecialcargoemail.dgemails.notnull}")
    @Length(max = 500, message = "{partnerspecialcargoemail.dgemails.max.length}")
    private String dgEmails;

    @Schema(description = "超限申请收件箱（多个）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{partnerspecialcargoemail.oogemails.notnull}")
    @Length(max = 500, message = "{partnerspecialcargoemail.oogemails.max.length}")
    private String oogEmails;

    @Schema(description = "液袋申请收件箱（多个）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{partnerspecialcargoemail.flexiemails.notnull}")
    @Length(max = 500, message = "{partnerspecialcargoemail.flexiemails.max.length}")
    private String flexiEmails;

    @Schema(description = "半开门申请收件箱（多个）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{partnerspecialcargoemail.odoemails.notnull}")
    @Length(max = 500, message = "{partnerspecialcargoemail.odoemails.max.length}")
    private String odoEmails;

}
